package com.chendongyang.www.po;//保存用户申请的车牌号有关信息

public class apply {
    private String id;
    private String name;

    public apply(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public apply() {
    }

    @Override
    public String toString() {
        return
                "id:" + id  +
                "   姓名:" + name ;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof apply)) return false;

        apply apply = (apply) o;

        if (id != null ? !id.equals(apply.id) : apply.id != null) return false;
        return name != null ? name.equals(apply.name) : apply.name == null;
    }

    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (name != null ? name.hashCode() : 0);
        return result;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
